<select id="<?php echo $id; ?>" name="<?php echo $id; ?>"<?php 
	if ($disabled) echo ' disabled="disabled"';
	echo $this->attr($attr); ?>>
<?php
	foreach ($options as $key => $label) {
?><option value="<?php echo $key; ?>"<?php 
if (isset($value) && $value == $key) echo ' selected="selected"';
?>><?php echo htmlspecialchars($label); ?></option>
<?php } ?>
</select>
